package com.bocai.mapper;

import com.bocai.bean.TUserInfo;
import com.bocai.vo.TUserInfoVo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface TUserInfoMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(TUserInfo record);

    int insertSelective(TUserInfo record);

    TUserInfo selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(TUserInfo record);

    int updateByPrimaryKey(TUserInfo record);

    int updateReadState(HashMap<String, Object> map);

    int updateUserMoney(TUserInfo record);

    int updateCashUserMoney(TUserInfo record);

    int updateUserState(HashMap<String, Object> map);

    int updateUserPwd(HashMap<String, Object> map);

    int updateUserPwdByPhone(TUserInfo record);

    int updateAddCashUserMoney(TUserInfo record);

    TUserInfo selectByPrimaryKeyPhone(String phone);

    List<TUserInfoVo> selectAllUserInfo(String userPhone);
}